package com.cw.jeeyt.dao.model.system;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 联系我们Example
 *
 * @author chenw
 * @date 2020-03-18 20:21:41
 */
public class SystemContactUsExample {
    /** 排序字段 */
    protected String orderByClause;

    /** 是否只查询记录不同的数据 */
    protected boolean distinct;

    /** or条件查询集合 */
    protected List<Criteria> oredCriteria;

    /**
     * 初始化or条件查询集合
     */
    public SystemContactUsExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     * 排序字段set方法
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
     * 排序字段get方法
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     * 不同记录set方法.
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     * 不同记录get方法.
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     * 排序集合get方法
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     * or
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     * or
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     * 初始化标准规范
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
     * 初始化标准规范
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     * 清除数据
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

                public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(Long value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(Long value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }
		        public Criteria andCorpNameIsNull() {
            addCriterion("corp_name is null");
            return (Criteria) this;
        }

        public Criteria andCorpNameIsNotNull() {
            addCriterion("corp_name is not null");
            return (Criteria) this;
        }

        public Criteria andCorpNameEqualTo(String value) {
            addCriterion("corp_name =", value, "corpName");
            return (Criteria) this;
        }

        public Criteria andCorpNameNotEqualTo(String value) {
            addCriterion("corp_name <>", value, "corpName");
            return (Criteria) this;
        }

        public Criteria andCorpNameGreaterThan(String value) {
            addCriterion("corp_name >", value, "corpName");
            return (Criteria) this;
        }

        public Criteria andCorpNameGreaterThanOrEqualTo(String value) {
            addCriterion("corp_name >=", value, "corpName");
            return (Criteria) this;
        }

        public Criteria andCorpNameLessThan(String value) {
            addCriterion("corp_name <", value, "corpName");
            return (Criteria) this;
        }

        public Criteria andCorpNameLessThanOrEqualTo(String value) {
            addCriterion("corp_name <=", value, "corpName");
            return (Criteria) this;
        }

        public Criteria andCorpNameLike(String value) {
            addCriterion("corp_name like", value, "corpName");
            return (Criteria) this;
        }

        public Criteria andCorpNameNotLike(String value) {
            addCriterion("corp_name not like", value, "corpName");
            return (Criteria) this;
        }

        public Criteria andCorpNameIn(List<String> values) {
            addCriterion("corp_name in", values, "corpName");
            return (Criteria) this;
        }

        public Criteria andCorpNameNotIn(List<String> values) {
            addCriterion("corp_name not in", values, "corpName");
            return (Criteria) this;
        }

        public Criteria andCorpNameBetween(String value1, String value2) {
            addCriterion("corp_name between", value1, value2, "corpName");
            return (Criteria) this;
        }

        public Criteria andCorpNameNotBetween(String value1, String value2) {
            addCriterion("corp_name not between", value1, value2, "corpName");
            return (Criteria) this;
        }
		        public Criteria andCorpAddrIsNull() {
            addCriterion("corp_addr is null");
            return (Criteria) this;
        }

        public Criteria andCorpAddrIsNotNull() {
            addCriterion("corp_addr is not null");
            return (Criteria) this;
        }

        public Criteria andCorpAddrEqualTo(String value) {
            addCriterion("corp_addr =", value, "corpAddr");
            return (Criteria) this;
        }

        public Criteria andCorpAddrNotEqualTo(String value) {
            addCriterion("corp_addr <>", value, "corpAddr");
            return (Criteria) this;
        }

        public Criteria andCorpAddrGreaterThan(String value) {
            addCriterion("corp_addr >", value, "corpAddr");
            return (Criteria) this;
        }

        public Criteria andCorpAddrGreaterThanOrEqualTo(String value) {
            addCriterion("corp_addr >=", value, "corpAddr");
            return (Criteria) this;
        }

        public Criteria andCorpAddrLessThan(String value) {
            addCriterion("corp_addr <", value, "corpAddr");
            return (Criteria) this;
        }

        public Criteria andCorpAddrLessThanOrEqualTo(String value) {
            addCriterion("corp_addr <=", value, "corpAddr");
            return (Criteria) this;
        }

        public Criteria andCorpAddrLike(String value) {
            addCriterion("corp_addr like", value, "corpAddr");
            return (Criteria) this;
        }

        public Criteria andCorpAddrNotLike(String value) {
            addCriterion("corp_addr not like", value, "corpAddr");
            return (Criteria) this;
        }

        public Criteria andCorpAddrIn(List<String> values) {
            addCriterion("corp_addr in", values, "corpAddr");
            return (Criteria) this;
        }

        public Criteria andCorpAddrNotIn(List<String> values) {
            addCriterion("corp_addr not in", values, "corpAddr");
            return (Criteria) this;
        }

        public Criteria andCorpAddrBetween(String value1, String value2) {
            addCriterion("corp_addr between", value1, value2, "corpAddr");
            return (Criteria) this;
        }

        public Criteria andCorpAddrNotBetween(String value1, String value2) {
            addCriterion("corp_addr not between", value1, value2, "corpAddr");
            return (Criteria) this;
        }
		        public Criteria andCorpPostIsNull() {
            addCriterion("corp_post is null");
            return (Criteria) this;
        }

        public Criteria andCorpPostIsNotNull() {
            addCriterion("corp_post is not null");
            return (Criteria) this;
        }

        public Criteria andCorpPostEqualTo(Integer value) {
            addCriterion("corp_post =", value, "corpPost");
            return (Criteria) this;
        }

        public Criteria andCorpPostNotEqualTo(Integer value) {
            addCriterion("corp_post <>", value, "corpPost");
            return (Criteria) this;
        }

        public Criteria andCorpPostGreaterThan(Integer value) {
            addCriterion("corp_post >", value, "corpPost");
            return (Criteria) this;
        }

        public Criteria andCorpPostGreaterThanOrEqualTo(Integer value) {
            addCriterion("corp_post >=", value, "corpPost");
            return (Criteria) this;
        }

        public Criteria andCorpPostLessThan(Integer value) {
            addCriterion("corp_post <", value, "corpPost");
            return (Criteria) this;
        }

        public Criteria andCorpPostLessThanOrEqualTo(Integer value) {
            addCriterion("corp_post <=", value, "corpPost");
            return (Criteria) this;
        }

        public Criteria andCorpPostLike(Integer value) {
            addCriterion("corp_post like", value, "corpPost");
            return (Criteria) this;
        }

        public Criteria andCorpPostNotLike(Integer value) {
            addCriterion("corp_post not like", value, "corpPost");
            return (Criteria) this;
        }

        public Criteria andCorpPostIn(List<Integer> values) {
            addCriterion("corp_post in", values, "corpPost");
            return (Criteria) this;
        }

        public Criteria andCorpPostNotIn(List<Integer> values) {
            addCriterion("corp_post not in", values, "corpPost");
            return (Criteria) this;
        }

        public Criteria andCorpPostBetween(Integer value1, Integer value2) {
            addCriterion("corp_post between", value1, value2, "corpPost");
            return (Criteria) this;
        }

        public Criteria andCorpPostNotBetween(Integer value1, Integer value2) {
            addCriterion("corp_post not between", value1, value2, "corpPost");
            return (Criteria) this;
        }
		        public Criteria andCorpTelIsNull() {
            addCriterion("corp_tel is null");
            return (Criteria) this;
        }

        public Criteria andCorpTelIsNotNull() {
            addCriterion("corp_tel is not null");
            return (Criteria) this;
        }

        public Criteria andCorpTelEqualTo(String value) {
            addCriterion("corp_tel =", value, "corpTel");
            return (Criteria) this;
        }

        public Criteria andCorpTelNotEqualTo(String value) {
            addCriterion("corp_tel <>", value, "corpTel");
            return (Criteria) this;
        }

        public Criteria andCorpTelGreaterThan(String value) {
            addCriterion("corp_tel >", value, "corpTel");
            return (Criteria) this;
        }

        public Criteria andCorpTelGreaterThanOrEqualTo(String value) {
            addCriterion("corp_tel >=", value, "corpTel");
            return (Criteria) this;
        }

        public Criteria andCorpTelLessThan(String value) {
            addCriterion("corp_tel <", value, "corpTel");
            return (Criteria) this;
        }

        public Criteria andCorpTelLessThanOrEqualTo(String value) {
            addCriterion("corp_tel <=", value, "corpTel");
            return (Criteria) this;
        }

        public Criteria andCorpTelLike(String value) {
            addCriterion("corp_tel like", value, "corpTel");
            return (Criteria) this;
        }

        public Criteria andCorpTelNotLike(String value) {
            addCriterion("corp_tel not like", value, "corpTel");
            return (Criteria) this;
        }

        public Criteria andCorpTelIn(List<String> values) {
            addCriterion("corp_tel in", values, "corpTel");
            return (Criteria) this;
        }

        public Criteria andCorpTelNotIn(List<String> values) {
            addCriterion("corp_tel not in", values, "corpTel");
            return (Criteria) this;
        }

        public Criteria andCorpTelBetween(String value1, String value2) {
            addCriterion("corp_tel between", value1, value2, "corpTel");
            return (Criteria) this;
        }

        public Criteria andCorpTelNotBetween(String value1, String value2) {
            addCriterion("corp_tel not between", value1, value2, "corpTel");
            return (Criteria) this;
        }
		        public Criteria andCorpFaxIsNull() {
            addCriterion("corp_fax is null");
            return (Criteria) this;
        }

        public Criteria andCorpFaxIsNotNull() {
            addCriterion("corp_fax is not null");
            return (Criteria) this;
        }

        public Criteria andCorpFaxEqualTo(String value) {
            addCriterion("corp_fax =", value, "corpFax");
            return (Criteria) this;
        }

        public Criteria andCorpFaxNotEqualTo(String value) {
            addCriterion("corp_fax <>", value, "corpFax");
            return (Criteria) this;
        }

        public Criteria andCorpFaxGreaterThan(String value) {
            addCriterion("corp_fax >", value, "corpFax");
            return (Criteria) this;
        }

        public Criteria andCorpFaxGreaterThanOrEqualTo(String value) {
            addCriterion("corp_fax >=", value, "corpFax");
            return (Criteria) this;
        }

        public Criteria andCorpFaxLessThan(String value) {
            addCriterion("corp_fax <", value, "corpFax");
            return (Criteria) this;
        }

        public Criteria andCorpFaxLessThanOrEqualTo(String value) {
            addCriterion("corp_fax <=", value, "corpFax");
            return (Criteria) this;
        }

        public Criteria andCorpFaxLike(String value) {
            addCriterion("corp_fax like", value, "corpFax");
            return (Criteria) this;
        }

        public Criteria andCorpFaxNotLike(String value) {
            addCriterion("corp_fax not like", value, "corpFax");
            return (Criteria) this;
        }

        public Criteria andCorpFaxIn(List<String> values) {
            addCriterion("corp_fax in", values, "corpFax");
            return (Criteria) this;
        }

        public Criteria andCorpFaxNotIn(List<String> values) {
            addCriterion("corp_fax not in", values, "corpFax");
            return (Criteria) this;
        }

        public Criteria andCorpFaxBetween(String value1, String value2) {
            addCriterion("corp_fax between", value1, value2, "corpFax");
            return (Criteria) this;
        }

        public Criteria andCorpFaxNotBetween(String value1, String value2) {
            addCriterion("corp_fax not between", value1, value2, "corpFax");
            return (Criteria) this;
        }
		        public Criteria andCorpBusiEmailIsNull() {
            addCriterion("corp_busi_email is null");
            return (Criteria) this;
        }

        public Criteria andCorpBusiEmailIsNotNull() {
            addCriterion("corp_busi_email is not null");
            return (Criteria) this;
        }

        public Criteria andCorpBusiEmailEqualTo(String value) {
            addCriterion("corp_busi_email =", value, "corpBusiEmail");
            return (Criteria) this;
        }

        public Criteria andCorpBusiEmailNotEqualTo(String value) {
            addCriterion("corp_busi_email <>", value, "corpBusiEmail");
            return (Criteria) this;
        }

        public Criteria andCorpBusiEmailGreaterThan(String value) {
            addCriterion("corp_busi_email >", value, "corpBusiEmail");
            return (Criteria) this;
        }

        public Criteria andCorpBusiEmailGreaterThanOrEqualTo(String value) {
            addCriterion("corp_busi_email >=", value, "corpBusiEmail");
            return (Criteria) this;
        }

        public Criteria andCorpBusiEmailLessThan(String value) {
            addCriterion("corp_busi_email <", value, "corpBusiEmail");
            return (Criteria) this;
        }

        public Criteria andCorpBusiEmailLessThanOrEqualTo(String value) {
            addCriterion("corp_busi_email <=", value, "corpBusiEmail");
            return (Criteria) this;
        }

        public Criteria andCorpBusiEmailLike(String value) {
            addCriterion("corp_busi_email like", value, "corpBusiEmail");
            return (Criteria) this;
        }

        public Criteria andCorpBusiEmailNotLike(String value) {
            addCriterion("corp_busi_email not like", value, "corpBusiEmail");
            return (Criteria) this;
        }

        public Criteria andCorpBusiEmailIn(List<String> values) {
            addCriterion("corp_busi_email in", values, "corpBusiEmail");
            return (Criteria) this;
        }

        public Criteria andCorpBusiEmailNotIn(List<String> values) {
            addCriterion("corp_busi_email not in", values, "corpBusiEmail");
            return (Criteria) this;
        }

        public Criteria andCorpBusiEmailBetween(String value1, String value2) {
            addCriterion("corp_busi_email between", value1, value2, "corpBusiEmail");
            return (Criteria) this;
        }

        public Criteria andCorpBusiEmailNotBetween(String value1, String value2) {
            addCriterion("corp_busi_email not between", value1, value2, "corpBusiEmail");
            return (Criteria) this;
        }
		        public Criteria andCorpMaintainTelIsNull() {
            addCriterion("corp_maintain_tel is null");
            return (Criteria) this;
        }

        public Criteria andCorpMaintainTelIsNotNull() {
            addCriterion("corp_maintain_tel is not null");
            return (Criteria) this;
        }

        public Criteria andCorpMaintainTelEqualTo(String value) {
            addCriterion("corp_maintain_tel =", value, "corpMaintainTel");
            return (Criteria) this;
        }

        public Criteria andCorpMaintainTelNotEqualTo(String value) {
            addCriterion("corp_maintain_tel <>", value, "corpMaintainTel");
            return (Criteria) this;
        }

        public Criteria andCorpMaintainTelGreaterThan(String value) {
            addCriterion("corp_maintain_tel >", value, "corpMaintainTel");
            return (Criteria) this;
        }

        public Criteria andCorpMaintainTelGreaterThanOrEqualTo(String value) {
            addCriterion("corp_maintain_tel >=", value, "corpMaintainTel");
            return (Criteria) this;
        }

        public Criteria andCorpMaintainTelLessThan(String value) {
            addCriterion("corp_maintain_tel <", value, "corpMaintainTel");
            return (Criteria) this;
        }

        public Criteria andCorpMaintainTelLessThanOrEqualTo(String value) {
            addCriterion("corp_maintain_tel <=", value, "corpMaintainTel");
            return (Criteria) this;
        }

        public Criteria andCorpMaintainTelLike(String value) {
            addCriterion("corp_maintain_tel like", value, "corpMaintainTel");
            return (Criteria) this;
        }

        public Criteria andCorpMaintainTelNotLike(String value) {
            addCriterion("corp_maintain_tel not like", value, "corpMaintainTel");
            return (Criteria) this;
        }

        public Criteria andCorpMaintainTelIn(List<String> values) {
            addCriterion("corp_maintain_tel in", values, "corpMaintainTel");
            return (Criteria) this;
        }

        public Criteria andCorpMaintainTelNotIn(List<String> values) {
            addCriterion("corp_maintain_tel not in", values, "corpMaintainTel");
            return (Criteria) this;
        }

        public Criteria andCorpMaintainTelBetween(String value1, String value2) {
            addCriterion("corp_maintain_tel between", value1, value2, "corpMaintainTel");
            return (Criteria) this;
        }

        public Criteria andCorpMaintainTelNotBetween(String value1, String value2) {
            addCriterion("corp_maintain_tel not between", value1, value2, "corpMaintainTel");
            return (Criteria) this;
        }
		        public Criteria andCorpComplaintCallIsNull() {
            addCriterion("corp_complaint_call is null");
            return (Criteria) this;
        }

        public Criteria andCorpComplaintCallIsNotNull() {
            addCriterion("corp_complaint_call is not null");
            return (Criteria) this;
        }

        public Criteria andCorpComplaintCallEqualTo(String value) {
            addCriterion("corp_complaint_call =", value, "corpComplaintCall");
            return (Criteria) this;
        }

        public Criteria andCorpComplaintCallNotEqualTo(String value) {
            addCriterion("corp_complaint_call <>", value, "corpComplaintCall");
            return (Criteria) this;
        }

        public Criteria andCorpComplaintCallGreaterThan(String value) {
            addCriterion("corp_complaint_call >", value, "corpComplaintCall");
            return (Criteria) this;
        }

        public Criteria andCorpComplaintCallGreaterThanOrEqualTo(String value) {
            addCriterion("corp_complaint_call >=", value, "corpComplaintCall");
            return (Criteria) this;
        }

        public Criteria andCorpComplaintCallLessThan(String value) {
            addCriterion("corp_complaint_call <", value, "corpComplaintCall");
            return (Criteria) this;
        }

        public Criteria andCorpComplaintCallLessThanOrEqualTo(String value) {
            addCriterion("corp_complaint_call <=", value, "corpComplaintCall");
            return (Criteria) this;
        }

        public Criteria andCorpComplaintCallLike(String value) {
            addCriterion("corp_complaint_call like", value, "corpComplaintCall");
            return (Criteria) this;
        }

        public Criteria andCorpComplaintCallNotLike(String value) {
            addCriterion("corp_complaint_call not like", value, "corpComplaintCall");
            return (Criteria) this;
        }

        public Criteria andCorpComplaintCallIn(List<String> values) {
            addCriterion("corp_complaint_call in", values, "corpComplaintCall");
            return (Criteria) this;
        }

        public Criteria andCorpComplaintCallNotIn(List<String> values) {
            addCriterion("corp_complaint_call not in", values, "corpComplaintCall");
            return (Criteria) this;
        }

        public Criteria andCorpComplaintCallBetween(String value1, String value2) {
            addCriterion("corp_complaint_call between", value1, value2, "corpComplaintCall");
            return (Criteria) this;
        }

        public Criteria andCorpComplaintCallNotBetween(String value1, String value2) {
            addCriterion("corp_complaint_call not between", value1, value2, "corpComplaintCall");
            return (Criteria) this;
        }
		        public Criteria andCorpComplaintEmailIsNull() {
            addCriterion("corp_complaint_email is null");
            return (Criteria) this;
        }

        public Criteria andCorpComplaintEmailIsNotNull() {
            addCriterion("corp_complaint_email is not null");
            return (Criteria) this;
        }

        public Criteria andCorpComplaintEmailEqualTo(String value) {
            addCriterion("corp_complaint_email =", value, "corpComplaintEmail");
            return (Criteria) this;
        }

        public Criteria andCorpComplaintEmailNotEqualTo(String value) {
            addCriterion("corp_complaint_email <>", value, "corpComplaintEmail");
            return (Criteria) this;
        }

        public Criteria andCorpComplaintEmailGreaterThan(String value) {
            addCriterion("corp_complaint_email >", value, "corpComplaintEmail");
            return (Criteria) this;
        }

        public Criteria andCorpComplaintEmailGreaterThanOrEqualTo(String value) {
            addCriterion("corp_complaint_email >=", value, "corpComplaintEmail");
            return (Criteria) this;
        }

        public Criteria andCorpComplaintEmailLessThan(String value) {
            addCriterion("corp_complaint_email <", value, "corpComplaintEmail");
            return (Criteria) this;
        }

        public Criteria andCorpComplaintEmailLessThanOrEqualTo(String value) {
            addCriterion("corp_complaint_email <=", value, "corpComplaintEmail");
            return (Criteria) this;
        }

        public Criteria andCorpComplaintEmailLike(String value) {
            addCriterion("corp_complaint_email like", value, "corpComplaintEmail");
            return (Criteria) this;
        }

        public Criteria andCorpComplaintEmailNotLike(String value) {
            addCriterion("corp_complaint_email not like", value, "corpComplaintEmail");
            return (Criteria) this;
        }

        public Criteria andCorpComplaintEmailIn(List<String> values) {
            addCriterion("corp_complaint_email in", values, "corpComplaintEmail");
            return (Criteria) this;
        }

        public Criteria andCorpComplaintEmailNotIn(List<String> values) {
            addCriterion("corp_complaint_email not in", values, "corpComplaintEmail");
            return (Criteria) this;
        }

        public Criteria andCorpComplaintEmailBetween(String value1, String value2) {
            addCriterion("corp_complaint_email between", value1, value2, "corpComplaintEmail");
            return (Criteria) this;
        }

        public Criteria andCorpComplaintEmailNotBetween(String value1, String value2) {
            addCriterion("corp_complaint_email not between", value1, value2, "corpComplaintEmail");
            return (Criteria) this;
        }
		        public Criteria andCorpCommentIsNull() {
            addCriterion("corp_comment is null");
            return (Criteria) this;
        }

        public Criteria andCorpCommentIsNotNull() {
            addCriterion("corp_comment is not null");
            return (Criteria) this;
        }

        public Criteria andCorpCommentEqualTo(String value) {
            addCriterion("corp_comment =", value, "corpComment");
            return (Criteria) this;
        }

        public Criteria andCorpCommentNotEqualTo(String value) {
            addCriterion("corp_comment <>", value, "corpComment");
            return (Criteria) this;
        }

        public Criteria andCorpCommentGreaterThan(String value) {
            addCriterion("corp_comment >", value, "corpComment");
            return (Criteria) this;
        }

        public Criteria andCorpCommentGreaterThanOrEqualTo(String value) {
            addCriterion("corp_comment >=", value, "corpComment");
            return (Criteria) this;
        }

        public Criteria andCorpCommentLessThan(String value) {
            addCriterion("corp_comment <", value, "corpComment");
            return (Criteria) this;
        }

        public Criteria andCorpCommentLessThanOrEqualTo(String value) {
            addCriterion("corp_comment <=", value, "corpComment");
            return (Criteria) this;
        }

        public Criteria andCorpCommentLike(String value) {
            addCriterion("corp_comment like", value, "corpComment");
            return (Criteria) this;
        }

        public Criteria andCorpCommentNotLike(String value) {
            addCriterion("corp_comment not like", value, "corpComment");
            return (Criteria) this;
        }

        public Criteria andCorpCommentIn(List<String> values) {
            addCriterion("corp_comment in", values, "corpComment");
            return (Criteria) this;
        }

        public Criteria andCorpCommentNotIn(List<String> values) {
            addCriterion("corp_comment not in", values, "corpComment");
            return (Criteria) this;
        }

        public Criteria andCorpCommentBetween(String value1, String value2) {
            addCriterion("corp_comment between", value1, value2, "corpComment");
            return (Criteria) this;
        }

        public Criteria andCorpCommentNotBetween(String value1, String value2) {
            addCriterion("corp_comment not between", value1, value2, "corpComment");
            return (Criteria) this;
        }
		        public Criteria andCreateByIsNull() {
            addCriterion("create_by is null");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNotNull() {
            addCriterion("create_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreateByEqualTo(Long value) {
            addCriterion("create_by =", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotEqualTo(Long value) {
            addCriterion("create_by <>", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThan(Long value) {
            addCriterion("create_by >", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThanOrEqualTo(Long value) {
            addCriterion("create_by >=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThan(Long value) {
            addCriterion("create_by <", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThanOrEqualTo(Long value) {
            addCriterion("create_by <=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLike(Long value) {
            addCriterion("create_by like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotLike(Long value) {
            addCriterion("create_by not like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByIn(List<Long> values) {
            addCriterion("create_by in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotIn(List<Long> values) {
            addCriterion("create_by not in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByBetween(Long value1, Long value2) {
            addCriterion("create_by between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotBetween(Long value1, Long value2) {
            addCriterion("create_by not between", value1, value2, "createBy");
            return (Criteria) this;
        }
		        public Criteria andCreateDateIsNull() {
            addCriterion("create_date is null");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNotNull() {
            addCriterion("create_date is not null");
            return (Criteria) this;
        }

        public Criteria andCreateDateEqualTo(Date value) {
            addCriterion("create_date =", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotEqualTo(Date value) {
            addCriterion("create_date <>", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThan(Date value) {
            addCriterion("create_date >", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("create_date >=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThan(Date value) {
            addCriterion("create_date <", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThanOrEqualTo(Date value) {
            addCriterion("create_date <=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLike(Date value) {
            addCriterion("create_date like", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotLike(Date value) {
            addCriterion("create_date not like", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateIn(List<Date> values) {
            addCriterion("create_date in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotIn(List<Date> values) {
            addCriterion("create_date not in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateBetween(Date value1, Date value2) {
            addCriterion("create_date between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotBetween(Date value1, Date value2) {
            addCriterion("create_date not between", value1, value2, "createDate");
            return (Criteria) this;
        }
		        public Criteria andUpdateByIsNull() {
            addCriterion("update_by is null");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNotNull() {
            addCriterion("update_by is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateByEqualTo(Long value) {
            addCriterion("update_by =", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotEqualTo(Long value) {
            addCriterion("update_by <>", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThan(Long value) {
            addCriterion("update_by >", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThanOrEqualTo(Long value) {
            addCriterion("update_by >=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThan(Long value) {
            addCriterion("update_by <", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThanOrEqualTo(Long value) {
            addCriterion("update_by <=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLike(Long value) {
            addCriterion("update_by like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotLike(Long value) {
            addCriterion("update_by not like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByIn(List<Long> values) {
            addCriterion("update_by in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotIn(List<Long> values) {
            addCriterion("update_by not in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByBetween(Long value1, Long value2) {
            addCriterion("update_by between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotBetween(Long value1, Long value2) {
            addCriterion("update_by not between", value1, value2, "updateBy");
            return (Criteria) this;
        }
		        public Criteria andUpdateDateIsNull() {
            addCriterion("update_date is null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNotNull() {
            addCriterion("update_date is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateEqualTo(Date value) {
            addCriterion("update_date =", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotEqualTo(Date value) {
            addCriterion("update_date <>", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThan(Date value) {
            addCriterion("update_date >", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("update_date >=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThan(Date value) {
            addCriterion("update_date <", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThanOrEqualTo(Date value) {
            addCriterion("update_date <=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLike(Date value) {
            addCriterion("update_date like", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotLike(Date value) {
            addCriterion("update_date not like", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIn(List<Date> values) {
            addCriterion("update_date in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotIn(List<Date> values) {
            addCriterion("update_date not in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateBetween(Date value1, Date value2) {
            addCriterion("update_date between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotBetween(Date value1, Date value2) {
            addCriterion("update_date not between", value1, value2, "updateDate");
            return (Criteria) this;
        }
		    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}
